#define _CRT_SECURE_NO_WARNINGS
#include "list.h"
int main()
{
	bit::list<const int> ls;
	ls.push_back(1);
	ls.push_back(2);
	ls.push_back(3);
	//cout << ls.front() << endl;
	//cout << ls.back() << endl;
	bit::list<const int>::const_iterator it = ls.begin();
	while (it != ls.end())
	{
		//*ls++;
		//(*it)++;
		cout << *it<< endl;
		it++;
	}
	//while (!ls.empty())
	//{
	//	cout << ls.front() << endl;
	//	it = ls.erase(it);
	//}
	//for (auto e : ls)
	//{
	//	
	//	cout << e << endl;
	//}
	return 0;
}